package com.th.supcom.pds.drugsupply.client.model;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * DrugInfo UI模型.
 * 
 */
public class DrugInfoModel extends BaseModelData implements java.io.Serializable
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
    /**
	 * 
	 */
    private static final long serialVersionUID = 7704558591444477191L;

    /**
     * 默认构造器 .
     */
    public DrugInfoModel ()
    {

    }

    /**
     * 获取货位号.
     * 
     * @return the String
     */
    public String getAllocation ()
    {
        return get ("allocation");
    }

    public Double getDosePerUnit ()
    {

        return get ("dosePerUnit");
    }

    public String getDoseUnitName ()
    {

        return get ("doseUnitName");
    }

    /**
     * 获取贵重药品.
     * 
     * @return the String
     */
    public String getExpensive ()
    {
        return get ("expensive");
    }

    /** 贵重药品：是；否 */
    public String getExpensiveName ()
    {
        return get ("expensiveName");
    }

    /**
     * 获取保存与未保存的方法.
     * 
     * 
     */
    public String getFlag ()
    {
        return get ("flag");
    }

    /**
     * 获取高限.
     * 
     * @return the String
     */
    public Double getHighLimit ()
    {
        return get ("highLimit");
    }

    /**
     * 获取低限.
     * 
     * @return the String
     */
    public Double getLowLimit ()
    {
        return get ("lowLimit");
    }

    /** 换算系数 */
    public Double getPackageFactor ()
    {

        return get ("packageFactor");
    }

    /** 分包单位 */
    public String getPackageUnit ()
    {

        return get ("packageUnit");
    }

    /** 分包单位名称 */
    public String getPackageUnitName ()
    {

        return get ("packageUnitName");
    }

    /**
     * 获取西药、中成药、中草药、普通耗材等.
     * 
     * @return the String
     */
    public String getPhamCateCode ()
    {
        return get ("phamCateCode  ");
    }

    /**
     * 获取标准名称.
     * 
     * @return the String
     */
    public String getPhamName ()
    {
        return get ("phamName");
    }

    /**
     * 获取序列号.
     * 
     * @return the String
     */
    public Long getPhamPropertySerialNo ()
    {
        return get ("phamPropertySerialNo");
    }

    /**
     * 获取药品规格.
     * 
     * @return the String
     */
    public String getPhamSpec ()
    {
        return get ("phamSpec");
    }

    /**
     * 获取药品编码.
     * 
     * @return the String
     */
    public String getPhamStdCode ()
    {
        return get ("phamStdCode");
    }

    /** 基本单位 */
    public String getPhamUnit ()
    {

        return get ("phamUnit");
    }

    /** 基本单位名称 */
    public String getPhamUnitName ()
    {

        return get ("phamUnitName");
    }

    /** 生产厂家 */
    public String getPharmcyFactory ()
    {

        return get ("pharmcyFactory");
    }

    /**
     * 获取摆药方式:人工摆药，机器摆药.
     * 
     * @return the String
     */
    public String getPutDrugMode ()
    {
        return get ("putDrugMode");
    }

    /**
     * 获取摆药方式名字:人工摆药，机器摆药.
     * 
     * @return the String
     */
    public String getPutDrugModeName ()
    {
        return get ("putDrugModeName");
    }

    /**
     * 获取 限制标识.
     * 
     * @return the String
     */
    public String getRestrictionSign ()
    {
        return get ("restrictionSign");
    }

    /** 零售价 */
    public Double getRetailPrice ()
    {

        return get ("retailPrice");
    }

    /**
     * 获取单次数量.
     * 
     * @return the String
     */
    public Double getSingleNumber ()
    {
        return get ("singleNumber");
    }

    /**
     * 获取单次单位.
     * 
     * @return the String
     */
    public String getSingleUnit ()
    {
        return get ("singleUnit");
    }

    /**
     * 获取单次单位名字.
     * 
     * @return the String
     */
    public String getSingleUnitName ()
    {
        return get ("singleUnitName");
    }

    /**
     * 获取在此机构中已停止使用.
     * 
     * @return the String
     */
    public String getSupplyIndicator ()
    {
        return get ("supplyIndicator");
    }

    public String getSupplyIndicatorName ()
    {
        return get ("supplyIndicatorName");
    }

    /**
     * 获取发药方式.
     * 
     * @return the String
     */
    public String getSvrModeTypeId ()
    {
        return get ("svrModeTypeId");
    }

    /**
     * 获取发药方式名字.
     * 
     * @return the String
     */
    public String getSvrModeTypeName ()
    {
        return get ("svrModeTypeName");
    }

    /** 批发价 */
    public Double getTradePrice ()
    {

        return get ("tradePrice");
    }

    /**
     * 获取单位.
     * 
     * @return the String
     */
    public String getUnit ()
    {
        return get ("unit");
    }

    /**
     * 获取单位名称.
     * 
     * @return the String
     */
    public String getUnitName ()
    {
        return get ("unitName");
    }

    /**
     * 设置货位号.
     * 
     * @param allocation the allocation to set.
     */
    public void setAllocation (final String allocation)
    {
        set ("allocation", allocation);
    }

    public void setDosePerUnit (final Double dosePerUnit)
    {

        set ("dosePerUnit", dosePerUnit);
    }

    public void setDoseUnitName (final String doseUnitName)
    {

        set ("doseUnitName", doseUnitName);
    }

    /**
     * 设置贵重药品.
     * 
     * @param expensive the expensive to set.
     */
    public void setExpensive (final String expensive)
    {
        set ("expensive", expensive);
    }

    /** 贵重药品名称 */
    public void setExpensiveName (final String expensiveName)
    {
        set ("expensiveName", expensiveName);
    }

    /**
     * 设置保存与未保存的方法.
     * 
     * @param flag
     */
    public void setFlag (final String flag)
    {
        set ("flag", flag);
    }

    /**
     * 设置高限.
     * 
     * @param highLimit the highLimit to set.
     */
    public void setHighLimit (final Double highLimit)
    {
        set ("highLimit", highLimit);
    }

    /**
     * 设置低限.
     * 
     * @param lowLimit the lowLimit to set.
     */
    public void setLowLimit (final Double lowLimit)
    {
        set ("lowLimit", lowLimit);
    }

    public void setPackageFactor (final Double packageFactor)
    {

        set ("packageFactor", packageFactor);
    }

    public void setPackageUnit (final String packageUnit)
    {

        set ("packageUnit", packageUnit);
    }

    public void setPackageUnitName (final String packageUnitName)
    {

        set ("packageUnitName", packageUnitName);
    }

    /**
     * 设置西药、中成药、中草药、普通耗材等.
     * 
     * @param phamCateCode the phamCateCode to set.
     */
    public void setPhamCateCode (final String phamCateCode)
    {
        set ("phamCateCode  ", phamCateCode);
    }

    /**
     * 设置标准名称.
     * 
     * @param phamName the phamName to set.
     */
    public void setPhamName (final String phamName)
    {
        set ("phamName", phamName);
    }

    /**
     * 设置序列号.
     * 
     * @param phamPropertySerialNo the phamPropertySerialNo to set.
     */
    public void setPhamPropertySerialNo (final Long phamPropertySerialNo)
    {
        set ("phamPropertySerialNo", phamPropertySerialNo);
    }

    /**
     * 设置药品规格.
     * 
     * @param phamSpec the phamSpec to set.
     */
    public void setPhamSpec (final String phamSpec)
    {
        set ("phamSpec", phamSpec);
    }

    /**
     * 设置药品编码.
     * 
     * @param phamStdCode the phamStdCode to set.
     */
    public void setPhamStdCode (final String phamStdCode)
    {
        set ("phamStdCode", phamStdCode);
    }

    public void setPhamUnit (final String phamUnit)
    {

        set ("phamUnit", phamUnit);
    }

    public void setPhamUnitName (final String phamUnitName)
    {

        set ("phamUnitName", phamUnitName);
    }

    public void setPharmcyFactory (final String pharmcyFactory)
    {

        set ("pharmcyFactory", pharmcyFactory);
    }

    /**
     * 设置摆药方式:人工摆药，机器摆药.
     * 
     * @param putDrugMode the putDrugMode to set.
     */
    public void setPutDrugMode (final String putDrugMode)
    {
        set ("putDrugMode", putDrugMode);
    }

    /**
     * 设置摆药方式名字:人工摆药，机器摆药.
     * 
     * @param putDrugMode the putDrugMode to set.
     */
    public void setPutDrugModeName (final String putDrugModeName)
    {
        set ("putDrugModeName", putDrugModeName);
    }

    /**
     * 设置 限制标识.
     * 
     * @param restrictionSign the restrictionSign to set.
     */
    public void setRestrictionSign (final String restrictionSign)
    {
        set ("restrictionSign", restrictionSign);
    }

    public void setRetailPrice (final Double retailPrice)
    {

        set ("retailPrice", retailPrice);
    }

    /**
     * 设置单次数量
     * 
     * @param singleNumber the singleNumbe to set.
     */
    public void setSingleNumber (final Double singleNumber)
    {
        set ("singleNumber", singleNumber);
    }

    /**
     * 设置单次单位.
     * 
     * @param singleUnit the singleUnit to set.
     */
    public void setSingleUnit (final String singleUnit)
    {
        set ("singleUnit", singleUnit);
    }

    /**
     * 设置单次单位.
     * 
     * @param singleUnit the singleUnit to set.
     */
    public void setSingleUnitName (final String singleUnitName)
    {
        set ("singleUnitName", singleUnitName);
    }

    /**
     * 设置在此机构中已停止使用.
     * 
     * @param supplyIndicator the supplyIndicator to set.
     */
    public void setSupplyIndicator (final String supplyIndicator)
    {
        set ("supplyIndicator", supplyIndicator);
    }

    public void setSupplyIndicatorName (final String supplyIndicatorName)
    {
        set ("supplyIndicatorName", supplyIndicatorName);
    }

    /**
     * 设置发药方式.
     * 
     * @param svrModeTypeId the svrModeTypeId to set.
     */
    public void setSvrModeTypeId (final String svrModeTypeId)
    {
        set ("svrModeTypeId", svrModeTypeId);
    }

    /**
     * 设置发药方式名字.
     * 
     * @param svrModeTypeId the svrModeTypeId to set.
     */
    public void setSvrModeTypeName (final String svrModeTypeName)
    {
        set ("svrModeTypeName", svrModeTypeName);
    }

    public void setTradePrice (final Double tradePrice)
    {

        set ("tradePrice", tradePrice);
    }

    /**
     * 设置单位.
     * 
     * @param unitName the unitName to set.
     */
    public void setUnit (final String unit)
    {
        set ("unit", unit);
    }

    /**
     * 设置单位名称.
     * 
     * @param unitName the unitName to set.
     */
    public void setUnitName (final String unitName)
    {
        set ("unitName", unitName);
    }

    /**
     * 设置组织机构号
     * 
     * @param unitName the unitName to set.
     */
    public void setOrgId (final String orgId)
    {
        set ("orgId", orgId);
    }

    public String getOrgId ()
    {
        return get ("orgId");
    }

}